import Request from '@/utils/request.js'
let request = new Request().http


// 获取企业列表
export function getInstitutionList(data) {
	return request({
		url: '/lock/manage/getInstitutionList',
		method: 'post',
		data
	})
}

// 安装门锁(添加门锁)
export function addLock(data) {
	return request({
		url: '/lock/manage/addLock',
		method: 'post',
		data
	})
}

// 已安装门锁
export function getInstallLock(data) {
	return request({
		url: '/lock/manage/getInstallLock',
		method: 'post',
		data
	})
}

// 授权门锁(我的门锁)
export function getEmpowerLock(data) {
	return request({
		url: '/lock/manage/getEmpowerLock',
		method: 'post',
		data
	})
}

// 远程开锁
export function remoteUnlock(data) {
	return request({
		url: '/lock/manage/remoteUnlock',
		method: 'post',
		data
	})
}

